<!-- apps/frontend/modules/job/templates/indexSuccess.atom.php -->
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Foulekstore</title>
  <subtitle>Dernières vidéos</subtitle>
  <link href="<?php echo url_for('download', array('sf_format' => 'atom'), true) ?>" rel="self"/>
  <link href="<?php echo url_for('homepage', true) ?>"/>
  <updated><?php echo gmstrftime('%Y-%m-%dT%H:%M:%SZ', Doctrine_Core::getTable('Fily')->getLatestPost()->getDateTimeObject('created_at')->format('U')) ?></updated>
  <author>
    <name>Foulekstore</name>
  </author>
  <id><?php echo sha1(url_for('download', array('sf_format' => 'atom'), true)) ?></id>
 
<?php foreach ($categories as $category): ?>
  <?php include_partial('download/list', array('downloads' => $category->getDownload(sfConfig::get('app_max_downloads_on_homepage')))) ?>
<?php endforeach ?>
</feed>